using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.Collections;
using System.Data;
using System.ComponentModel;
using System.Data.OracleClient;
using WPFExcelReport.Helpers;
using WPFExcelReport.Controls;
namespace WPFExcelReport
{
   public partial class VICC_FOLDERS
    {
      #region======ColumnSchema==========
       /*
                public string MANDANT { get { if (dwMaster == null) return ""; return dwMaster["MANDANT"].ToString(); } set { if (dwMaster == null) return; dwMaster["MANDANT"] = value; OnPropertyChanged("MANDANT", value); } } //lENGth 2
                public string ROWNID { get { if (dwMaster == null) return ""; return dwMaster["ROWNID"].ToString(); } set { if (dwMaster == null) return; dwMaster["ROWNID"] = value; OnPropertyChanged("ROWNID", value); } } //lENGth 20
                public string LINKER { get { if (dwMaster == null) return ""; return dwMaster["LINKER"].ToString(); } set { if (dwMaster == null) return; dwMaster["LINKER"] = value; OnPropertyChanged("LINKER", value); } } //lENGth 20
                public string COMPANY { get { if (dwMaster == null) return ""; return dwMaster["COMPANY"].ToString(); } set { if (dwMaster == null) return; dwMaster["COMPANY"] = value; OnPropertyChanged("COMPANY", value); } } //lENGth 3
                public string ROOT { get { if (dwMaster == null) return ""; return dwMaster["ROOT"].ToString(); } set { if (dwMaster == null) return; dwMaster["ROOT"] = value; OnPropertyChanged("ROOT", value); } } //lENGth 256
                public string SUB { get { if (dwMaster == null) return ""; return dwMaster["SUB"].ToString(); } set { if (dwMaster == null) return; dwMaster["SUB"] = value; OnPropertyChanged("SUB", value); } } //lENGth 256
                public string VERSION { get { if (dwMaster == null) return ""; return dwMaster["VERSION"].ToString(); } set { if (dwMaster == null) return; dwMaster["VERSION"] = value; OnPropertyChanged("VERSION", value); } } //lENGth 20
                public string FBCONTENT { get { if (dwMaster == null) return ""; return dwMaster["FBCONTENT"].ToString(); } set { if (dwMaster == null) return; dwMaster["FBCONTENT"] = value; OnPropertyChanged("FBCONTENT", value); } } //lENGth 4000
                public string FCCONTENT { get { if (dwMaster == null) return ""; return dwMaster["FCCONTENT"].ToString(); } set { if (dwMaster == null) return; dwMaster["FCCONTENT"] = value; OnPropertyChanged("FCCONTENT", value); } } //lENGth 4000
       */
       #endregion
    } 
       public partial class UIICC_FOLDERS
    {
      
        #region======ColumnSchema==========
       /*
       #region ==MANDANT===========
        public static readonly DependencyProperty MANDANTProperty = DependencyProperty.Register("MANDANT",
            typeof(string), typeof(UIICC_FOLDERS),
            new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnMANDANTChanged));
        public string MANDANT
        {
            get
            {
                return (string)GetValue(MANDANTProperty);
            }
            set
            {
                SetValue(MANDANTProperty, value);
                OnMANDANTChg();
            }
        }
        private static void OnMANDANTChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            var src = sender as UIICC_FOLDERS;
            if (src != null)
            {
                src.MANDANT = (string)e.NewValue;
            }
        }
        public virtual void OnMANDANTChg()
        { 
        if(!IsEdit)
        return;
        if(dwMaster==null)
        return;
        TMV.MANDANT=MANDANT;
        }
         #endregion
       #region ==ROWNID===========
        public static readonly DependencyProperty ROWNIDProperty = DependencyProperty.Register("ROWNID",
            typeof(string), typeof(UIICC_FOLDERS),
            new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnROWNIDChanged));
        public string ROWNID
        {
            get
            {
                return (string)GetValue(ROWNIDProperty);
            }
            set
            {
                SetValue(ROWNIDProperty, value);
                OnROWNIDChg();
            }
        }
        private static void OnROWNIDChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            var src = sender as UIICC_FOLDERS;
            if (src != null)
            {
                src.ROWNID = (string)e.NewValue;
            }
        }
        public virtual void OnROWNIDChg()
        { 
        if(!IsEdit)
        return;
        if(dwMaster==null)
        return;
        TMV.ROWNID=ROWNID;
        }
         #endregion
       #region ==LINKER===========
        public static readonly DependencyProperty LINKERProperty = DependencyProperty.Register("LINKER",
            typeof(string), typeof(UIICC_FOLDERS),
            new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnLINKERChanged));
        public string LINKER
        {
            get
            {
                return (string)GetValue(LINKERProperty);
            }
            set
            {
                SetValue(LINKERProperty, value);
                OnLINKERChg();
            }
        }
        private static void OnLINKERChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            var src = sender as UIICC_FOLDERS;
            if (src != null)
            {
                src.LINKER = (string)e.NewValue;
            }
        }
        public virtual void OnLINKERChg()
        { 
        if(!IsEdit)
        return;
        if(dwMaster==null)
        return;
        TMV.LINKER=LINKER;
        }
         #endregion
       #region ==COMPANY===========
        public static readonly DependencyProperty COMPANYProperty = DependencyProperty.Register("COMPANY",
            typeof(string), typeof(UIICC_FOLDERS),
            new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnCOMPANYChanged));
        public string COMPANY
        {
            get
            {
                return (string)GetValue(COMPANYProperty);
            }
            set
            {
                SetValue(COMPANYProperty, value);
                OnCOMPANYChg();
            }
        }
        private static void OnCOMPANYChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            var src = sender as UIICC_FOLDERS;
            if (src != null)
            {
                src.COMPANY = (string)e.NewValue;
            }
        }
        public virtual void OnCOMPANYChg()
        { 
        if(!IsEdit)
        return;
        if(dwMaster==null)
        return;
        TMV.COMPANY=COMPANY;
        }
         #endregion
       #region ==ROOT===========
        public static readonly DependencyProperty ROOTProperty = DependencyProperty.Register("ROOT",
            typeof(string), typeof(UIICC_FOLDERS),
            new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnROOTChanged));
        public string ROOT
        {
            get
            {
                return (string)GetValue(ROOTProperty);
            }
            set
            {
                SetValue(ROOTProperty, value);
                OnROOTChg();
            }
        }
        private static void OnROOTChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            var src = sender as UIICC_FOLDERS;
            if (src != null)
            {
                src.ROOT = (string)e.NewValue;
            }
        }
        public virtual void OnROOTChg()
        { 
        if(!IsEdit)
        return;
        if(dwMaster==null)
        return;
        TMV.ROOT=ROOT;
        }
         #endregion
       #region ==SUB===========
        public static readonly DependencyProperty SUBProperty = DependencyProperty.Register("SUB",
            typeof(string), typeof(UIICC_FOLDERS),
            new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnSUBChanged));
        public string SUB
        {
            get
            {
                return (string)GetValue(SUBProperty);
            }
            set
            {
                SetValue(SUBProperty, value);
                OnSUBChg();
            }
        }
        private static void OnSUBChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            var src = sender as UIICC_FOLDERS;
            if (src != null)
            {
                src.SUB = (string)e.NewValue;
            }
        }
        public virtual void OnSUBChg()
        { 
        if(!IsEdit)
        return;
        if(dwMaster==null)
        return;
        TMV.SUB=SUB;
        }
         #endregion
       #region ==VERSION===========
        public static readonly DependencyProperty VERSIONProperty = DependencyProperty.Register("VERSION",
            typeof(string), typeof(UIICC_FOLDERS),
            new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnVERSIONChanged));
        public string VERSION
        {
            get
            {
                return (string)GetValue(VERSIONProperty);
            }
            set
            {
                SetValue(VERSIONProperty, value);
                OnVERSIONChg();
            }
        }
        private static void OnVERSIONChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            var src = sender as UIICC_FOLDERS;
            if (src != null)
            {
                src.VERSION = (string)e.NewValue;
            }
        }
        public virtual void OnVERSIONChg()
        { 
        if(!IsEdit)
        return;
        if(dwMaster==null)
        return;
        TMV.VERSION=VERSION;
        }
         #endregion
       #region ==FBCONTENT===========
        public static readonly DependencyProperty FBCONTENTProperty = DependencyProperty.Register("FBCONTENT",
            typeof(string), typeof(UIICC_FOLDERS),
            new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnFBCONTENTChanged));
        public string FBCONTENT
        {
            get
            {
                return (string)GetValue(FBCONTENTProperty);
            }
            set
            {
                SetValue(FBCONTENTProperty, value);
                OnFBCONTENTChg();
            }
        }
        private static void OnFBCONTENTChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            var src = sender as UIICC_FOLDERS;
            if (src != null)
            {
                src.FBCONTENT = (string)e.NewValue;
            }
        }
        public virtual void OnFBCONTENTChg()
        { 
        if(!IsEdit)
        return;
        if(dwMaster==null)
        return;
        TMV.FBCONTENT=FBCONTENT;
        }
         #endregion
       #region ==FCCONTENT===========
        public static readonly DependencyProperty FCCONTENTProperty = DependencyProperty.Register("FCCONTENT",
            typeof(string), typeof(UIICC_FOLDERS),
            new FrameworkPropertyMetadata("", FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnFCCONTENTChanged));
        public string FCCONTENT
        {
            get
            {
                return (string)GetValue(FCCONTENTProperty);
            }
            set
            {
                SetValue(FCCONTENTProperty, value);
                OnFCCONTENTChg();
            }
        }
        private static void OnFCCONTENTChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            var src = sender as UIICC_FOLDERS;
            if (src != null)
            {
                src.FCCONTENT = (string)e.NewValue;
            }
        }
        public virtual void OnFCCONTENTChg()
        { 
        if(!IsEdit)
        return;
        if(dwMaster==null)
        return;
        TMV.FCCONTENT=FCCONTENT;
        }
         #endregion
       */
       
       #endregion
    } 
}
